import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
const routes: Array<RouteRecordRaw> = [
    {
        path: "/",
        name: "Add",
        component: () => import("../views/Add.vue")
    },
    {
        path: "/Show",
        name: "Show",
        component: () => import("../views/Show.vue")
    },
    {
        path: "/Update",
        name: "Update",
        component: () => import("../views/Update.vue")
    }
]
const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router;